Fixing a side effect