recursive Bean providers fix