remove buggy characters