Fix using swift