fixing rst code blocks