fixes gradient stopping test