more gradient fixes