pause bug fix