remove flask reference