fix for overriding error details