fixbugs of removedocidfromchannel api