fix model's del method