improve error details