fix global replace mess-up 3