delete form now works properly