fix validate unique