fixed bug in update-motd