fix opened shell after test