fix another length issue