Fix month offset bug