fixed spaces missing in error dialogs