fix for bean