cleaned up form validation erorrs