use and fix macro function
fix macro in LU