fix: get current context before resolveContent