Revert "update parse.php"

This reverts commit 443628e92f07b8ed3b2f7b031680165d5e9f83f0.
parse.php fixes