update to not draw null nodes