fixing validation highlight