fix replCorrect for strings