Update rope.lua

Fix error console.