fix syntax (&&) and set_paused in set_paused_state