fix for webkit/chrome