In rocks of the Mesozoic era gastropods are more common as fossils and their shell is often well preserved . In rocks of the Mesozoic era , gastropods are slightly more common as fossils , their shells are often well preserved .