bug fix date selection for summary