fixed some enum stuff