fixes issues with error display
fixes an issue where server-side errors were never shown