Issue running same macro multiple times (segmentation violation)