Fix alert chrome bug