fixed error dialog