Fixed model delete