repair wrong rst