fix karma check