fix bean issue @Author : Alex