Fix setYear() issue