fix nil table in EntityTracker