fixed validate_int call
updated validate_float call
updated validate_float call
updated validate_float call