cleanup output_vars in compiler