fixing del methode
deleting destroy function