removing unnecessary flag