*nix shell fix