removed useless flags
removed useless flags