fix problem with calendar entry