modified to work better with subpar wallwarts and long cables