replace power cord safely