fix swift