fixed enums in db