removed all loops in packet