fixed flag manager/ flag manger action #333