fixed errant replace