Fix error handler in Geo