fixed bug: messages