Fix for chrome mis behaving