better error handling for bad srs, refs #23