ignore invalid characters