Remove invalid character