catch error with geom