support built-in module "finish" in oz.js