correct bitwise operation for LoadSystemFlags