fix cancel bug 2