Apply Clips: fix the script being broken because of an uninitialized variable