added fix for chrome