Reinitialized saved variables for multi-calling routines. This bug is discovered by @Benjamin Hourahine