fix the newline issue in proto/push