Attempted fix for chrome exception