fix date and category