fix gradiant