fixes to karma watching needed after karma update