@B331:R It turned out that non-constant values also has the same issue.  Turned them to local variables which is known to be safe.