fix for swift test