printing months with errors