Fix wrong ordering of arguments