fix swift settings