fixed a newline issue with stopf