fixed deleting a stack (maybe i should have implemented some code for deleting earlier, not just exception checking :)