Fix for self modifying karma