fixed sendPacket to client
remove comments
prepare for external delivery
fixed error
delete some comments