fixing enum reference