- fixed buggy line swapping behaviour
