Fix the bug when opening(closing) CPU.