add templates for ui duplication
merging
fixed merging