compatibility with karma 0.11