better error handling in specimen group controller