Path fix

Fix for crazy reduplicating paths.