fix safari lazy load