form date fix