rebuilt the construture for the normalize flask constrture