make sure argslength is set