avoid some failure if no messages property define