fixed system notification and template in message.js