fixed crash if a month outside of available data is requested