Fix spacinf issue