Fix for chrome and opera