Index.php row 161 bug fixed