fix compat for plugin gradient