Fixed pausing error