Fix packet ID NPE