Fixed makeNodes