ensure that method swizzling will be called once