setting width properly