change enum parsing