removing unnecessary to_owned

removing one string copy