Remove some unuse code