Wrong function call fix