Fix node html generation