remove needless regex replacement