commonjs closure fix v4