magic delete method now support passing a model instance
removed some whitespace
removed some whitespace