Fixed a bug in motd