fix tailor newlines