bugfix for month