lb: fix swap