fix when compiled enum dont have values() valueOf() methods