dirty fix for chrome bug