fixed validates uniquess syntax