fixed bug in last commit with privateMessage