fix toggle_pause view