some debug with serial gateway