initialize validator, highlight empty directive