crud model delete and fix