fixed MOTD not being outputed correctly.