fix kernel normalizations