fixed power state problem