ensure context is present before calling it to avoid hare error