Fix bug in private messages