fix for autoexplore macro not properly