fix BeanAdapterGenerator