finally found error, need to pass next into handler