remove unused ptID variable