remove unnecassary flag