Deleting now works, removed sleep from submit.php