fixed nested lists formatting