deal the clientapi bug