Created temporary workaround for safari browsers