Fix patch.multiple (wrong order on function defs)