packets.lua: Better fix