Fix assemble api parameter.