removed saving of enum value in rb visit()