add template correction drag&drop