Fixed broken wd_remove and wd_list_all printing blank lines