[bug fix] pass the extra argument to a scope function.

was not sending the correct value.