fixed cursor not updating