improved error report