Fixed programmatic calls to erfa