bus: don't throw exception if register/unregsiter is invalid