fixing silly string replacement error