fix removeallcell exception issue