change flag to select