fix *dbus.Error type check