bug 1192: typo fix in index/52.php, logical fix in index.php