fix sh bug