fixes list_objects()

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>