fix of color hash

maybe not the best solution but works for me