It would be better to return an error here, rather than Fatal. Let the caller decide what to do with it.