fix delete model