bug fix for calendar
Merge pull request #33 from apatel/master

bug fix for calendar