fixed another length issue