Fixes #16 by making sure that the target cell is not stored in a global variable