fixed typo that broke delet functioning again