To slove https://github.com/aqingsao/length