fixing code block in rst file