there appears to be a bug when predicting from a model read from a file