Bugfix SQL error column "month" does not exist