removing some outdated code in packet index