fix kernS for powers