fix getBeanByFunc value inject bug