delDir bugfix

Because i'm stupid when i'm tired...