update fix to index.php