fixed minor pause bug