Fixes string-replace task