fixed issue #95, support set type