fixing swapped assignment (199)