fix newlines in db