Moved cursor integer to cursor string to avoid errors on few platforms