double cursor fix