fixed dependency issue with karma