Fixed list formatting bug