fixed bugs for list capability