removing messed up directories