fixed flag remove on click on it