Small changes on LU kernel