fix bean class