Addd simplify option
Fixed nbsp