Revert "some fix in nim_manager"

This reverts commit be7cd33e662d9210688151948111fedb92d43dbb.