fix: move parent merge to compile and not to run phase of templating