Fixed bug with powerline