function call fix.