fix node attr and gussy up makefile.