fixing deleter class