fixed form validator