Fixed breaking bug in submit.php