fix isPaused