bug fix on messaging page