[partition] changed wrong assert