fix fn serialization to use new arg order