fix model5 bug