small fix for container.inject