add FLAG_PARENT, detect template error when scan()
add FLAG_PARENT, detect template error when scan()

fadimko/lightncandy,cgvarela/lightncandy,Corollarium/lightncandy,vein1992/lightncandy,fadimko/lightncandy,vein1992/lightncandy,Southparkfan/lightncandy,Corollarium/lightncandy,Southparkfan/lightncandy,jmgq/lightncandy,cgvarela/lightncandy,jmgq/lightncandy,zordius/lightncandy,zordius/lightncandy