Fixed missing parameters in function call.