fix wrong find and relplace