workaround some weird issue in which self.capability gets shared between class instances