this should be just `templateSourceUnsafe = false;` no?