fixed param issue in func run