Fixed issue with magicExplain