disable cursor.