Corrected errors related to powerline