Working on a problem with catch expression variables overriding existing variables even when exiting the catch expression