replace flex and layout by bootstrap