before modification of trackFeatures