Prevent potential packet NPEs