remvong dead code