check for empty line