fix wrong argument order for registering Consumer