fix bugs in my own distel