add anchor pattern to fix config resource order