fixxed cursor offset