fix it for more than one msg