fixed bug in privateMessage