doTheMagic fix