fixed build error by updating karma