remove unwanted padding.