fixed paladin and druid sql error