修复cursor模块

Signed-off-by: gaubee <gaubeebangeel@gmail.com>