Custom adjacency formatting fix