Fix pause & resume error