cast tracking keys to long