bug fix karma