Fix bugs for command "infoses"