fix monitor control in demo