fixed form validation for the application admin page