Fixed the error messages on the apply.php