bean instance resolution fix