compatibility with new karma