fixed subrope bug