fix for shell invocation