Fixes scope mutation