fix styles for nodes