required fields validation bug fixed