adjust template location