Added extra catch in messagevec