fixed crash in powerline