fixed stupidest bug ever, in 'int' validation