nodes rendering
refs made optional
bug fix
refs for nodes