Fix for swift bridge