fixing some issues of private messaging, a better solution is needed