corrected argument for sendPacket
fixed typo