fixed cursor and hex binding