make validation's Required also work on int & int64 type