remove most destination code