Fixed get_material_objects