not swapping rows
fixed bug noticed by stak441