fix date and template