tweak to error term stuff