try to fix safari bug