Fix to chrome bug