templateConfig with higher priority