Fix model,elements and delete