fix no length info bug