Delete unsused code