Fix: local vars in string/swap