changed callback next() to cb(), because next was not defined (probably ...

...copy paste error)