Packet fixing

Known bug: another EOF char get recognised, dunno why lol