fix bean error