Fixed the console vomitting AL_INVALID_ENUM