got entity validator working