fix shadowed param warning