power bug fix