revert remote.php changes