refs validation