fix shell for testing.