fix bug when disabling munge detection