removed old flask code to fix ci