fix formatting of code samples