defensive programming for trackprioritizer