fix linking at root