modify model relative path, now we use the model's path.