modify model bugs