fix lcd bug

fix lcd bug for length