fixed an error in using of Node static methods