add no name get bean method
merge code and correct a spell error