add some new validation

still to be done:
figure out the varchar length to validate if the length of an attribute exceeds the max size