bugfix for swift language change