make metadata regions more robust