strange enum issue. Can't use the word register?