more tweaks on gauss