fixed space issue in metrics result