Fix reference to id in Tick