updated invalid character