fix safari and opera rendering