Fixed error with enum verification