corrected type of variable month