fix owned template