fixed for unix shells