added functionality to fix bean
changed some things
changed some things