pause/resume function working good now, 100%

fix  the buggy pause/resume