fix container singleton with di bug