Eliminate enum error