Fixed typo and nicer delete