fixed lag when stop > resume multiple times