Try to ensure @months is always set (and set only once)