fixed error dialogs