Fixes list formatting