fixed swift parts