Merge branch 'ap/maint-apply-modefix'