Fixed problem with swapped lines