motd fix and spawn test