fix the bug in kill for manager