some bug fixes in LU
setter functions.