remove unsued code