fix for calendar appearing unexpectedly.