fix shell invocation