validation problems fixed