Fix pause_guard