Substituing spaces for _ in instance text references