fix formating of code inside list