fix for latest change to packets.lua