fix get bean attributes generation