decoder: fix format error due to invalid argument (byte to string)