removed regex from int validator
optimized int resolver