m_alias Fix out of bounds string access that happened with certain replace strings