Fixes issue with magicExplain not working