fix auto formatting newlines