split lines in refs