fix unnamed argument function