fix for required input select form elements