fixed replace all error