Update m_names to removing trailing space

Override last element to null before sending.