keeps returning "bad packet" for every packet sent, changed around print statements to find error