Bug fix on year in loop