changed the defines in packet and some stuff in receiver