Fix decode_motd error