bugfix: scope bugfix for Function#