error instead of doing nothing in sim.state.selected*