remove some not so usefull flags