fixing cursor