Fixed incorrect string replacement

Fixed incorrect string replacement