fixed POST in index.php