bug fix for emonth