improved error reporting internal messages