fixing bug in container.inject() while injecting into cls.__init__()