update LCD implementation
fix loopback test