fixed exception that can be thrown with a poorly passed month or year to calendar controller