fixed bugs with rope folding