fix not-used bug in model.go