steps towards better flexbox compatibility