Fix list formatting issues