check enum fixed