repair padding for wrapper