removes errors in renderer