fix the bug that horizon graph cannot recover the color