Fix arguments order for function calls.