Fix bugs in bias subtraction of proc_quad