add fields validation