fixing power-state