trying to get calendar to open right