Fixed math changes on index.php