Why only cast width here?