ER quality control