improvement for bean removal