delete ego header and add sv header