fixed error in model subspace