improve handling of missing ephem