fixing for karma