Fixed enum usage