deletion of storys on erro properly