Improve address resolution
Fix karma path