check for invalid year
invalid range message