fixed the model sync bug