remove bashisms