correct a function call