Quality control of cytoplasmic proteins inside the nucleus