fix the exception of timing power off