fix ref to hoist-errors