fixed event category and date selection bugs