bug fix for broken month output