fixed logical marking error in the packet_hold_remove function