Made some changes when created a messege to only render that message