Fix function never use an argument