removed unnecessary flag