fix expand cancel