fix model error, still debugging how this happened