fix resume pause error