changed default width logic