disable flag fix