fixed incorrect bean called