set correct width