Fix listener params scope. #2