Fix arguments order in error.
Fix function arguments positioning.