add liger ui lib
add common function