validation fix: scheme name trimming, remove the scanned leading whitespaces