fix flask files