remove critical string