improve borwsers compatibility