fix for swift examples