fix uncommon width by using percentages