hopefully fixed settings injection deprecation