convert unnamed enum into enum Tpc