make template index wolly working in linemarker and completion