make programming reset reliable again