ModelPath destroy fix