check for header row