return more information on error tweak