solving problem for chrome