fix safari type error
Merge pull request #32 from hanneskaeufler/hk-fix-safari-typeerror

fix safari type error