Fix type variable