fix unuse code