update fn param to match expected int