removing distinct and autorender_errors