Fixed issue in string_replace(..)