More clean strategy to detect the magic calls