for width auto adjust