this should be `setlocal` the other things do it wrong. otherwise it changes it for everything.