remove dimension lines and texts