fixes validation warnings