deleted trailing newlines