tweaking errors