escape sourcing helpers in hooks, update #1862