Found bug with cookie, since I changed the month value to a string instead of a number I got errors, reverted back and added month array to generate the months.