removed local flags