Fixed halfwidth bug