upnext.length bug