fixing a little in the new karma module