correct some padding