synth_cl_err use global vars