fixing bug when paused or not playing