clear srvals before set_output()