index.php: Bug #1 Pass

fixing bug #1