add lcs, and debug flag
fix
fix length
fix length