fixed #10. fixed validation messages on create and edit pages.