Fixed shell interpretation bug