messages displaying correctly now