Fixed a className join bug