fixbugs of supervisor