Fixed a bug in the interpolated model