fixed the space width bug