deleted some unused flag