fix swift ring file setup