Fix var issue, should use "subdir" but not "output".