fixed bean name conflict bugs