Correct order of deleting the stuff