fixed random range for enums