switch to a more sane mega reset function