Fix flag for secondard bug