unitflags change work