fixed error from moving calendar to different view