fix cancel err