move @weakify(self) inside #if block