Minor bean injection fix