fixing validation problems
fixing dates