fixed form validation and html codes is valid now