karma small fixes