fix enum in model