Fixed stringReplace

issues stemming from renamed aliases