fixed cast&cancel bug