Fix nodes argument, conversion to integer