Set the correct default arguments in function call