fix strange xml concatenation bug when running on server