Fix using spoof case not check invalid characts