fix leading space issue