add allow disable patch