fixed issue with calendar