fix bug of set