deal with /n in records