interger valitdation fix