[Dispatch] Fixed bug with function argument order