removing bashisms