fix reversing color gradiant