fixing x gradient feedback