Consent bug fix