fixed puimessages (issue #31)