remove extra space in LOG