small improvement of nmanager