fix gradient on pre

Signed-off-by: Chris Burnell <me@chrisburnell.com>