fixing bug in calendar - dates are now showing properly