set max allowd packet

fixed typo