bug fix and test list command