fix response endlines