support root context. Fixes #431