fix problem with massiv replace