fix the model & collection error