calendar displaying wrong