rope.lua fix