flags verification + updates
deleted unnecessary flags