cosmetics
fix memory leak in expect()