fix error compatibility browser

fixed errors