work around shell differences