removes two bashisms