removed some unused code in calendar_helper to increase coverage