small modify
add valid unique
modify small