fixed required.php closes #2
fixed required.php closes #2