fix a calendar issue about incorrect month