reverted to previous edit.php after report of error