update error display
improved logging