Fix some RST bugs