fixed validation post bug