cleanup enum helper class