fixed small bug with calendar popover