removed unneeded flags