fix global replace mess-up 4