fixed file load bug and non-parametric model