fixed flag redundancy