fix a bug of showing private message