tweak cursor manipulation error